/*
 * @Author: Soulmate
 * @Date: 2023-11-16 16:29:30
 * @LastEditTime: 2023-11-16 16:40:36
 * @LastEditors: Soulmate
 * @Description: 
 * @FilePath: \electron-app\electron\plugin\initNotification\index.ts
 * 版权声明
 */
const { Notification } = require('electron');

const initNotification = ({ title, body, icon }) => { 
    // 创建通知并保存
    new Notification({ title, body, icon }).show();
}

module.exports = initNotification